package model

import (
	"lutai/src/service/db"
)

// All 模型集合
type All struct {
	Test    *Test
	Company *Company
	Packet  *Packet
}

// Init 初始化模型集合
func (a *All) Init(db *db.DB) *All {
	a.Test = new(Test).Init(db)
	a.Packet = new(Packet).Init(db)
	a.Company = new(Company).Init(db)
	return a
}
